

export const nowDate=()=>{/*获取当前时间*/
	   let date = new Date();
        let Y = date.getFullYear() + '年';

        let M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '月';

        let D = (date.getDate()<10? '0'+date.getDate():date.getDate()) + '日 ';

        let h = (date.getHours()<10? '0'+date.getHours():date.getHours()) + ':';

        let m = (date.getMinutes()<10? '0'+date.getMinutes():date.getMinutes());

        return Y+M+D+h+m;
}
